package com.atmilan.quartz.sync.pull.buyer.service;

import com.atmilan.quartz.model.dto.buyer.BuyerBrandResult;
import com.atmilan.quartz.model.dto.buyer.BuyerCateResult;
import com.atmilan.quartz.model.dto.buyer.BuyerOrderDTO;
import com.atmilan.quartz.model.dto.buyer.BuyerProductResDTO;

/**
 * @author hupeng
 */
public interface IBuyerService {
    
    /**
     * 远程获取商品信息数据
     * @Description:  
     * @author daigb 
     * @param @param page
     * @param @param pageSize
     * @param @return
     * @return BuyerProductResDTO
     * @throws
     */
    BuyerProductResDTO getProduct(int page, int pageSize);

    String getProductStr(int page, int pageSize);

    /**
     * 获取第三方类目信息
     * @Description:  
     * @author daigb 
     * @param @return
     * @return BuyerCateResult
     * @throws
     */
    BuyerCateResult getCate();

    /**
     * 获取第三方品牌信息
     * @Description:  
     * @author daigb 
     * @param @return
     * @return BuyerBrandResult
     * @throws
     */
    BuyerBrandResult getBrand();

    String getBrandString();

    /**
     * 推送订单到buyer系统
     * @param order
     * @return
     */
    String pushOrder(BuyerOrderDTO order);
}
